<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改辅助项对应')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-auxiliary-edit" th:object="${yonbipCorrespondingAuxiliary}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">科目编码：</label>
                    <div class="col-sm-8">
                        <input name="accountcode" th:field="*{accountcode}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">旧编码：</label>
                    <div class="col-sm-8">
                        <input name="oldCode" th:field="*{oldCode}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">名称：</label>
                    <div class="col-sm-8">
                        <input name="name" th:field="*{name}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">新编码：</label>
                    <div class="col-sm-8">
                        <input name="newCode" th:field="*{newCode}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">是否新增：</label>
                    <div class="col-sm-8">
                        <input name="isAdd" th:field="*{isAdd}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">是否转换：</label>
                    <div class="col-sm-8">
                        <input name="isConvert" th:field="*{isConvert}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">是否固定值：</label>
                    <div class="col-sm-8">
                        <input name="isFixed" th:field="*{isFixed}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">固定值：</label>
                    <div class="col-sm-8">
                        <input name="fixedValue" th:field="*{fixedValue}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">新科目编码：</label>
                    <div class="col-sm-8">
                        <input name="accountCode" th:field="*{accountCode}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">排序：</label>
                    <div class="col-sm-8">
                        <input name="order" th:field="*{order}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">备用1：</label>
                    <div class="col-sm-8">
                        <input name="mark" th:field="*{mark}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">备用2：</label>
                    <div class="col-sm-8">
                        <input name="mark1" th:field="*{mark1}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">备用3：</label>
                    <div class="col-sm-8">
                        <input name="mark2" th:field="*{mark2}" class="form-control" type="text">
                    </div>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/auxiliary";
        $("#form-auxiliary-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-auxiliary-edit').serialize());
            }
        }
    </script>
</body>
</html>